﻿using UnityEngine;
using System.Collections;


public class ServerConfig
{
    static string url;
 
    public static string GetServerUrl()
    {
        if (GameConfig.Instance.platform == 1)
        {
            //url = @"http://djsy_ios.sail2world.com/sao/"; //ios
            //url = @"http://119.29.55.96:8081/sao/";//AB服
            url = @"http://118.194.236.13:9001/sao/";//内网
            //url = @"http://192.168.1.54:8080/sao/";
            //url = @"http://djsy.sail2world.com/sao/";//Android
        }
        else if (GameConfig.Instance.platform == 2)
        {
			#if UNITY_ANDROID
            url = @"http://djsy.sail2world.com/sao/";
			#elif UNITY_IPHONE
			url = @"http://djsy_ios.sail2world.com/sao/";
			#endif
            //url = @"http://118.194.236.13:9001/sao/";
        }
        return url;
    }
}
